#ifndef INCLUDED_Life_H // preprocessor directives
#define INCLUDED_Life_H

#include <SGE.h>
using namespace SGE;

class Map;

class Life
 {
 public:
	 Life();
	 ~Life();

	 void Load(); // initialize
	 void Unload(); // terminate
	 void Update(float deltaTime, const Map& map);
	 void Render(const SVector2& viewOffset);
	 void Kill();
	 bool IsDead();
	 int GetLifeCount();

	 SCircle GetBoundingCircle() const {return SCircle(mPosition,20.0f);};

	 void SetPosition(const SVector2& pos) { mPosition = pos; }
	 const SVector2& GetPosition() const { return mPosition; }

	 bool IsActive()			{ return mActive;};
	

 private:
	 SGE_Sprite mSprite;
	 SVector2 mPosition;
	 bool mActive;
	 int mLife;
	 char* filename;
	

 };

#endif // #ifndef INCLUDED_Life_H